package main

import (
	_ "yyt/boot"
	_ "yyt/controller"

	"gitee.com/johng/gf/g"
	"gitee.com/johng/gf/g/net/ghttp"
	"github.com/skratchdot/open-golang/open"
)

func main() {
	open.Run("http://localhost")
	s := g.Server()
	s.BindHandler("/", func(r *ghttp.Request) {
		r.Response.WriteTpl("index.html", map[string]interface{}{})
	})
	s.Run()
}
